package src.Control.DatabaseBrokers;

/**
 * @author Capstone Project
 * @version 1.0
 * @category Manager
 * 
 * The SQLManager class will handle accessing and alter the SQL database. This database will be logging user transactions and usage.
 * 
 *
 */
public class SQLManager {
	private String query;
	private String host;
	private int port;
	
	/**
	 * Default constructor for the SQLManager class
	 */
	public SQLManager() {
		
	}
	
	/**
	 * This method will allow the user to perform a query on the SQL Database.
	 * Still in development.
	 */
	public void doQuery() {
		
	}
	
	/**
	 * This method will allow the user to perform an update to the SQL Database.
	 * Still in development.
	 */
	public void doUpdate() {
		
	}
	
	/**
	 * This method will allow the user to rollback changes done to SQL database, in the event of an erroneous data entry or
	 * corruption to the database.
	 * Still in development.
	 */
	public void rollback() {
		
	}
	
	/**
	 * THis method will allow the user to commit any changes made to the SQL Database.
	 * Still in development.
	 */
	public void commit() {
		
	}
	
	/**
	 * @param q the string of the query that the user would like to perform. Creates a query that is readable to the {@doQuery()} method.
	 * Still in development.
	 */
	public void createQuery(String q) {
		
	}
}
